module(
    name = "rules_mojo",
    version = "0.1.0",
    bazel_compatibility = [">=8.0.0"],
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "rules_cc", version = "0.1.1")

mojo = use_extension("//mojo:extensions.bzl", "mojo")
mojo.toolchain()
use_repo(mojo, "mojo_toolchains")

register_toolchains("@mojo_toolchains//...")
